***** Replication code for Franchino, Fabio, and Camilla Mariotto. “Noncompliance Risk, Asymmetric Power and the Design of Enforcement of the European Economic Governance”. European Union Politics.

***** Online Appendix Section 3.4 Re-categorization of governmental positions test: systematic errors
* Execution stage 1
* Table A6

use robtest_pos_source_FC.dta, clear

* matrix for means
ci means b1
matrix mean=r(mean)
matrix colnames mean = mean
matrix list mean

matrix se=r(se)
matrix colnames se = se
matrix list se

matrix lb=r(lb)
matrix colnames lb = lb
matrix list lb

matrix ub=r(ub)
matrix colnames ub = ub
matrix list ub

local i = 2
while `i' < 55 {
ci means b`i'
matrix mean=mean \ r(mean)
matrix colnames mean = mean

matrix se=se \ r(se)
matrix list se

matrix lb=lb \ r(lb)
matrix list lb

matrix ub=ub \ r(ub)
matrix list ub

local i = `i' + 1
}

matrix full = mean , se , lb , ub

drop b1-b54

matrix list full

svmat full, names(col)

drop if mean==0

gen type="COM Noncompliance risk" in 1
replace type="COM Voting power" in 2
replace type="COM Risk X Voting power" in 3
replace type="COM Eurozone" in 4
replace type="COM Presidency" in 5
replace type="COM Left-right" in 6
replace type="COM Anti-pro EU" in 7
replace type="COM Diffuse support" in 8
replace type="COM Common source" in 9
replace type="COM Measure" in 10
replace type="COM Issue" in 11

replace type="COU Noncompliance risk" in 12
replace type="COU Voting power" in 13
replace type="COU Risk X Voting power" in 14
replace type="COU Eurozone" in 15
replace type="COU Presidency" in 16
replace type="COU Left-right" in 17
replace type="COU Anti-pro EU" in 18
replace type="COU Diffuse support" in 19
replace type="COU Common source" in 20
replace type="COU Measure" in 21
replace type="COU Issue" in 22

replace type="NAT Noncompliance risk" in 23
replace type="NAT Eurozone" in 24
replace type="NAT Euro crisis" in 25
replace type="NAT Presidency" in 26
replace type="NAT Left-right" in 27
replace type="NAT Anti-pro EU" in 28
replace type="NAT Diffuse support" in 29
replace type="NAT Common source" in 30
replace type="NAT Measure" in 31
replace type="NAT Issue" in 32

replace type="/COM Cut 1" in 33
replace type="/COM Cut 2" in 34
replace type="/COU Cut 1" in 35
replace type="/COU Cut 2" in 36
replace type="/NAT Cut 1" in 37
replace type="/NAT Cut 2" in 38

replace type="var(Measure)" in 39
replace type="var(Issue)" in 40

gen p1="["
gen c=" , "
gen p2="]"

order type mean p1 lb c ub p2

* The dataset is Table A6: Re-categorization robustness test of governmental positions (systematic error)
		
